﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;

namespace si.caha.Model
{
    public class OrderedItem
    {
        [Key]
        public int OrderedItemId { get; set; }
        public int Quantity { get; set; }

        public int ItemId { get; set; }
        public virtual Item Item { get; set; }

        public int OrderId { get; set; }
        public virtual Order Order { get; set; }
    }
}